import { createApp } from 'vue'
import './style.scss'
import App from './App.vue'
import Antd from 'ant-design-vue';
import router from './router'
import 'ant-design-vue/dist/reset.css';
import './assets/iconfont/iconfont.js';
import SvgIcon from './components/SvgIcon.vue'
import Layout from './components/Layout.vue'
import Loading from './components/Loading.vue'


import { createPinia } from 'pinia';

const app = createApp(App);

app.use(Antd);
app.use(router);
app.use(createPinia()); 
app.component('SvgIcon', SvgIcon);
app.component('Layout', Layout);
app.component('Loading', Loading);


app.mount('#app')